import React from 'react';

import Constants from '../../common/Constants';
import BaseAction from '../common/BaseAction';

//全屏图片
//new CommonShowImageFullScreenAction().call(this, {source:dataArr[0], isNeedSave:true|false})
export default class CommonShowImageFullScreenAction extends BaseAction {
  constructor() {
    super();
    this.moduleType = Constants.MODULE_TYPE.COMMON;
    this.name = "CommonShowImageFullScreenAction";
  }

  finish(stage) {
    stage.setState({
      showImageFS:true,
      imageData:this.data,
    })
  }
}
